from django.conf.urls import url

from rest_api.views import *

urlpatterns = [
    url(r'^getTrainPage/$', GetTrainByPage.as_view(), name='发送短信验证码'),
    url(r'^getWarmTrain/$', GetWarmTrain.as_view(), name='发送短信验证码'),
    url(r'^etTrainRecommendList/$', GetTrainRecommendList.as_view(), name='发送短信验证码'),
    url(r'^getTrainByCategory/(?P<category>[0-9]*)/$', GetTrainByCategory.as_view(), name='上传图片'),
    url(r'^getTrainingList/$', GetTrainingList.as_view(), name='上传图片'),
    url(r'^getTrainingDetail/(?P<PK>[0-9]*)/$', GetTrainDetail.as_view(), name='上传图片'),
]
